﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="StandardsList.aspx.cs"
    Inherits="CJJCH.Web.Manage.StandardsList" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../Style/SystemCss.css" rel="stylesheet" type="text/css" />
    <script src="../JScript/jquery-1.4.4.min.js" type="text/javascript"></script>
    <script src="../lhgdialog/lhgcore.min.js" type="text/javascript" language="javascript"></script>
    <script src="../lhgdialog/lhgdialog.js" type="text/javascript" language="javascript"></script>
    <script src="../Script/jquery-1.3.2.js" type="text/javascript"></script>
    <script src="../Script/JQcheck.js" type="text/javascript"></script>
     <script src="../JScript/Calendar/WdatePicker.js" type="text/javascript"></script>
    <script type="text/javascript">
        function ShowFinish(varID) {
            var dlg = new J.ui.dialog({ id: 'd2', title: '技术标准详情', width: 800, height: 600, cover: true, btns: false, rang: true, resize: false, page: 'StandardsDetails.aspx?ID=' + varID });
            dlg.ShowDialog();
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="BodyRight" style="width: 100%;">
    <div>
        <div runat="server" id="divHidden" visible="false">
            <asp:Label ID="lblSecondId" runat="server"></asp:Label>
            <asp:Label ID="lblFirstID" runat="server"></asp:Label>
            <asp:Label ID="lblSecondName" runat="server"></asp:Label>
            <asp:Label ID="lblnoteID" runat="server"></asp:Label>
            <asp:Label ID="lblKeyword" runat="server"></asp:Label>
            <asp:Label ID="lblKeytype" runat="server"></asp:Label>
            <asp:Label ID="lblTimeBegin" runat="server"></asp:Label>
            <asp:Label ID="lblTimeOver" runat="server"></asp:Label>
            <asp:Label ID="lblOrderKey" runat="server"></asp:Label>
            <asp:Label ID="lblOrderType" runat="server"></asp:Label>
            <asp:Label ID="lblIS" runat="server"></asp:Label>
        </div>
        <div>
            <uc:StandardsTop ID="StandardsTop1" runat="server" IIndex="1" />
        </div>
        <table border="0" cellspacing="0" cellpadding="0" height="100%" width="100%">
            <tr>
                <td valign="top" style="width: auto; height: 100%; background: #d7e7ff;">
                    <div class="MainbodyTop" style="margin-bottom: 5px;">
                        <div class="MainSearch" style="width: 100%; margin: 5px 0px 5px 0px;">
                            <table border="0" cellpadding="2" cellspacing="0" width="auto">
                                <tr>
                                    <td>
                                       编号/名称:<asp:TextBox ID="txtKeyword" runat="server" class="InputSearch_x1"></asp:TextBox>
                                    </td>
                                    <td id="type" runat="server">
                                        类别：<asp:DropDownList ID="dropStandardsType" runat="server">
                                            <asp:ListItem Text="所有" Value=""></asp:ListItem>
                                        </asp:DropDownList>
                                    </td>
                                    <td>
                                        发布时间：
                                         <asp:TextBox runat="server" ID="txtBegin" onkeydown="return false;" onkeypress="return false;"
                                            onpaste="return false;" oncut="return false;" onfocus="new WdatePicker({dateFmt:'yyyy-MM-dd',skin:'blue',isShowClear:true,maxDate:'#F{$dp.$D(\'txtEnd\')}',onpicked:function(){$dp.$('txtEnd').focus();}});"
                                            CssClass="EditInPut" Width="70px"  class="InputSearch_x1"></asp:TextBox>至
                                        <asp:TextBox runat="server" ID="txtEnd" onkeydown="return false;" onkeypress="return false;"
                                            onpaste="return false;" oncut="return false;" onfocus="new WdatePicker({dateFmt:'yyyy-MM-dd',skin:'blue',isShowClear:true,minDate:'#F{$dp.$D(\'txtBegin\')}'});"
                                            CssClass="EditInPut" Width="70px"  class="InputSearch_x1"></asp:TextBox>
                                    </td>
                                    <td>
                                        <asp:Button ID="btnSearch" runat="server" Text="搜 索" OnClick="btnSearch_Click" Style="padding: 2px 10px 3px  

10px; " Width="62px" CssClass="BtnSearch_x1" />
                                    </td>
                                </tr>
                            </table>
                        </div>
                    </div>
                </td>
            </tr>
        </table>
    </div>
    <div class="RBodyTable_x2 Link_font" style="width:99%;">
        <table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF"
            class="font">
            <tr>
                <th width="10%" align="center" valign="middle" class="HeaderBg">
                    <asp:LinkButton ID="lbtnDataTitel" runat="server" ToolTip="点击可排序" 
                        onclick="lbtnDataTitel_Click">编号</asp:LinkButton>
                </th>
                <th width="30%" align="center" valign="middle" class="HeaderBg">
                    <asp:LinkButton ID="lbtnDataName" runat="server" ToolTip="点击可排序" 
                        onclick="lbtnDataName_Click">名称</asp:LinkButton>
                </th>
                <th width="10%" align="center" valign="middle" class="HeaderBg" id="TypeB" runat="server">
                    <asp:LinkButton ID="lbtnThirdName" runat="server" ToolTip="点击可排序" 
                        onclick="lbtnThirdName_Click">类别</asp:LinkButton>
                </th>
                <th width="26%" align="center" valign="middle" class="HeaderBg">
                    <asp:LinkButton ID="lbtnDataAuthor" runat="server" ToolTip="点击可排序" 
                        onclick="lbtnDataAuthor_Click">主编单位</asp:LinkButton>
                </th>
                <th width="7%" align="center" valign="middle" class="HeaderBg">
                    实施时间
                </th>
                <th width="7%" align="center" valign="middle" class="HeaderBg">
                    操作
                </th>
            </tr>
                <asp:Repeater ID="rptStandards" runat="server" OnItemDataBound="rptStandards_ItemDataBound">
                <ItemTemplate>
                    <tr class="tdBg1">
                        <td align="center" valign="middle">
                            <asp:Label ID="lblDataTitel" runat="server"></asp:Label>
                        </td>
                        <td align="center" valign="middle">
                            <asp:HyperLink ID="lnkDataName" runat="server" NavigateUrl="#" Target="_blank"></asp:HyperLink>
                        </td>
                        <td align="center" valign="middle" id="tdType" runat="server">
                            <asp:Label ID="lblType" runat="server"></asp:Label>
                        </td>
                        <td align="center" valign="middle">
                            <asp:Label ID="lblDataAuthor" runat="server"></asp:Label>
                        </td>
                        <td align="center" valign="middle">
                            <asp:Label ID="lblPlusDate" runat="server"></asp:Label>
                        </td>
                        <td align="center" valign="middle">
                            <asp:LinkButton ID="lbtnEdit" runat="server" OnClick="lbtnEdit_Click">修改</asp:LinkButton>
                            <asp:LinkButton ID="lbtnDel" runat="server" OnClick="lbtbDel_Click">删除</asp:LinkButton>
                        </td>
                    </tr>
                  </ItemTemplate>
            </asp:Repeater>            
        </table>
        
    </div>
    <asp:Literal ID="litMessage" runat="server"></asp:Literal>
    <div class="MainPage_x1" style="width: 100%; margin: 5px auto;">
        <webdiyer:AspNetPager ID="AspNetPager1" OnPageChanged="AspNetPager1_PageChanged"
            AlwaysShow="true" runat="server" PageSize="15" NumericButtonCount="5" ShowCustomInfoSection="Right"
            PagingButtonSpacing="5" HorizontalAlign="Right" SubmitButtonText="转到" SubmitButtonClass="inputsubmit"
            NumericButtonTextFormatString="[{0}]" NextPageText="下一页" FirstPageText="首页" CssClass="anpager"
            CurrentPageButtonClass="cpb" LastPageText="尾页" PrevPageText="上一页">
        </webdiyer:AspNetPager>
    </div>
    </div>
    </form>
</body>
</html>
